<template>
    <div>
     父组件
     	<son :class="warning"></son>
    </div
</template>

<script>
import son from './son.vue'
    export default {
        name: "search",
        components:{
        	son
        }
    }
</script>

<style scoped>

</style>